package com.doit.demo01;

public class Cat extends Animal{

    @Override
    public void eat() {
        System.out.println("猫吃鱼");
    }

    @Override
    public void sleep() {
        System.out.println("猫躺着睡觉");
    }

    public void method(){
        System.out.println("猫抓老鼠");
    }
}
